package com.evil.kingdom.service.alliance;

import com.evil.kingdom.pojo.entity.alliance.Alliance;
import com.evil.kingdom.pojo.entity.base.Belong;
import com.evil.common.mongo.service.SingleService;

/**
 * 结盟
 *
 * @author liyang
 * @date 2024-05-22 16:51
 */
public interface AllianceService extends SingleService<Alliance> {

    /**
     * 判断是否同盟
     *
     * @param a a
     * @param b b
     * @return boolean
     */
    boolean isAlliance(Belong a, Belong b);
}
